#!/usr/bin/env python
# encoding: utf-8

from django.conf.urls import url

from . import views

app_name = 'Configuration'
urlpatterns = [
    url(r'^$', views.home, name='home'),
    url(r'^quota/', views.quota, name='quota'),
    url(r'^strategy/', views.strategy, name='strategy'),
    url(r'^simulate/', views.simulate),
    url(r'^match/', views.match),
    url(r'^get_simulate/', views.get_simulate),
    url(r'^get_match/', views.get_match),
    url(r'^query/primary/', views.QueryLikePrimary),
    url(r'^query/page/', views.QueryPageDB),
    url(r'^complete/', views.Complete),
    url(r'^market/', views.market),
    url(r'^market_detail/', views.market_detail),
    url(r'^recal/', views.Recal),
    url(r'^quota_history/', views.QuotaHistory),
    url(r'^query/(?P<name>\w+)/', views.QueryTable),
    url(r'^commit/insert/(?P<name>\w+)/', views.CommitInsert),
    url(r'^commit/update/(?P<name>\w+)/', views.CommitUpdate),
    url(r'^commit/delete/(?P<name>\w+)/(?P<id>[0-9]+)', views.CommitDelete),
]
